<?php 
require_once '../include.php';
$act=$_REQUEST['act'];
@$id=$_REQUEST['id'];
if ($act=='logout'){
    logout();
}elseif ($act=='addAdmin'){
    $mes=addAdmin();
}elseif ($act=="editAdmin"){
    $mes=editAdmin($id);
}elseif ($act=="delAdmin"){
    $mes=delAdmin($id);
}elseif ($act=="addCate"){
    $mes=addCate();
}elseif ($act=="editCate"){
    $mes=editCate($id);
}elseif ($act=="delCate"){
    $mes=delCate($id);
}elseif ($act=="addDisease"){
    $mes=addDisease();
}elseif ($act=="editDisease"){
    $mes = editDisease($id);
}elseif ($act=="delDisease"){
    $mes = delDisease($id);
}elseif ($act=="addDoc"){
    $mes=addDoc();
}elseif ($act=="editDoc"){
    $mes = editDOc($id);
}elseif ($act=="delDoc"){
    $mes = delDoc($id);
}elseif ($act=="updatePaystatue"){
    $mes = updatePaystatue($id);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<?php 
	if($mes){
		echo $mes;
	}
?>
</body>
</html>